lib/repo-refs: properly return an error value
authorLuca BRUNO <luca.bruno@coreos.com>
Wed, 26 Oct 2022 11:12:37 +0000 (11:12 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Wed, 26 Oct 2022 11:12:52 +0000 (11:12 +0000)
commita118410b85a5b4ff333813da21768df3f4b9e911
tree14bff2cc66295388d8f512278a8de044ac275c18
parent61d22e5db6c88c26856ba8e92de490da1b76479d
lib/repo-refs: properly return an error value

This tweaks a logic check in order to return a proper error value
when the related condition is not satisfied.
src/libostree/ostree-repo-refs.c